package com.zhuozhou.jdyc.main.goods.bean;

import androidx.databinding.BaseObservable;

import com.zhuozhou.jdyc.main.main.bean.BasicsShoppingBean;

import java.io.Serializable;
import java.util.List;

/**
 * Create by Once_ChuXy on 2021/9/5
 * Describe:
 */
public class BasicsCommodityBase extends BaseObservable implements Serializable {


    /**
     * code : 1
     * msg :
     * time : 1631112231
     * data : {"detail":{"id":27,"name":"奥里给","admin_id":137,"unit":"个","type2_id":29,"price":null,"xiaohao_price":null,"xiaohao_integral":"9","status_price":"1.00","wuliu_price":"1.00","qishou_price":"1.00","image":"https://yuncang.dzsmxx.com/uploads/20210724/e1b30ed7d4c46454a02a194494724dc3.png","content":"<p>12121<\/p>","status4":"1","audit":"1","number":11,"sales":"11","sort":"27","spec_type":"20","starttime":"2021-07-24 17:09:05","top_id":45,"shouye_top":0,"status":"1","status_type":null,"baoyou_status":"0","baoyouYes":null,"baoyouNo":"15","store_id":"137","imgs_url":["https://yuncang.dzsmxx.com/uploads/20210724/e1b30ed7d4c46454a02a194494724dc3.png"],"category":{"id":29,"tyle_id":60,"name":"亲子装","image":"/uploads/20210705/cee7fbfc2f7e5f7a41336885952a3cd1.jpg"},"spec":[{"goods_spec_id":64,"goods_id":27,"goods_no":"11","goods_price":"11.00","numberlist":11,"numbermax":null,"numbermin":11,"expire":"2021-08-05 17:08:25","line_price":"111.00","stock_num":24,"goods_sales":0,"goods_weight":1,"spec_sku_id":"12","spec_image":"/uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg","create_time":1627118890,"update_time":1627118890}],"spec_rel":[{"id":12,"spec_value":"22","spec_id":6,"createtime":1623815275,"pivot":{"id":58,"goods_id":27,"spec_id":6,"spec_value_id":12,"create_time":1627118890},"spec":{"id":6,"spec_name":"11","createtime":1623815275}}],"spec_type_text":"Spec_type 20","deduct_stock_type_text":"","goods_status_text":"","is_delete_text":""},"specData":{"spec_attr":[{"group_id":6,"group_name":"11","spec_items":[{"item_id":12,"spec_value":"22"}]}],"spec_list":[{"goods_spec_id":64,"spec_sku_id":"12","rows":[],"form":{"goods_no":"11","goods_price":"11.00","goods_weight":1,"line_price":"111.00","stock_num":24,"spec_image":"/uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg","numberlist":11,"numbermax":null,"numbermin":11,"imgshow":"https://yuncang.dzsmxx.com/uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg"}}]},"distribution":[],"comment":[],"store_id":"137","discount":[{"id":18,"name":"测试","number":8,"admin_id":137,"price":"10.00","price2":"100.00","date":"2021-08-30 08:52:35","date2":"2021-08-30 08:52:35"},{"id":19,"name":"测试1","number":8,"admin_id":137,"price":"100.00","price2":"0.00","date":"2021-09-07 17:28:23","date2":"2021-09-07 17:28:23"},{"id":20,"name":"测试2","number":98,"admin_id":137,"price":"100.00","price2":"0.00","date":"2021-08-31 17:16:17","date2":"2021-08-31 17:16:17"}],"commenttypelist":{"chaping":0,"zhongping":0,"haoping":0},"admin_name":"柳昭旭","collection":0}
     */

    private Integer code;
    private String msg;
    private String time;
    private DataBean data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * detail : {"id":27,"name":"奥里给","admin_id":137,"unit":"个","type2_id":29,"price":null,"xiaohao_price":null,"xiaohao_integral":"9","status_price":"1.00","wuliu_price":"1.00","qishou_price":"1.00","image":"https://yuncang.dzsmxx.com/uploads/20210724/e1b30ed7d4c46454a02a194494724dc3.png","content":"<p>12121<\/p>","status4":"1","audit":"1","number":11,"sales":"11","sort":"27","spec_type":"20","starttime":"2021-07-24 17:09:05","top_id":45,"shouye_top":0,"status":"1","status_type":null,"baoyou_status":"0","baoyouYes":null,"baoyouNo":"15","store_id":"137","imgs_url":["https://yuncang.dzsmxx.com/uploads/20210724/e1b30ed7d4c46454a02a194494724dc3.png"],"category":{"id":29,"tyle_id":60,"name":"亲子装","image":"/uploads/20210705/cee7fbfc2f7e5f7a41336885952a3cd1.jpg"},"spec":[{"goods_spec_id":64,"goods_id":27,"goods_no":"11","goods_price":"11.00","numberlist":11,"numbermax":null,"numbermin":11,"expire":"2021-08-05 17:08:25","line_price":"111.00","stock_num":24,"goods_sales":0,"goods_weight":1,"spec_sku_id":"12","spec_image":"/uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg","create_time":1627118890,"update_time":1627118890}],"spec_rel":[{"id":12,"spec_value":"22","spec_id":6,"createtime":1623815275,"pivot":{"id":58,"goods_id":27,"spec_id":6,"spec_value_id":12,"create_time":1627118890},"spec":{"id":6,"spec_name":"11","createtime":1623815275}}],"spec_type_text":"Spec_type 20","deduct_stock_type_text":"","goods_status_text":"","is_delete_text":""}
         * specData : {"spec_attr":[{"group_id":6,"group_name":"11","spec_items":[{"item_id":12,"spec_value":"22"}]}],"spec_list":[{"goods_spec_id":64,"spec_sku_id":"12","rows":[],"form":{"goods_no":"11","goods_price":"11.00","goods_weight":1,"line_price":"111.00","stock_num":24,"spec_image":"/uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg","numberlist":11,"numbermax":null,"numbermin":11,"imgshow":"https://yuncang.dzsmxx.com/uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg"}}]}
         * distribution : []
         * comment : []
         * store_id : 137
         * discount : [{"id":18,"name":"测试","number":8,"admin_id":137,"price":"10.00","price2":"100.00","date":"2021-08-30 08:52:35","date2":"2021-08-30 08:52:35"},{"id":19,"name":"测试1","number":8,"admin_id":137,"price":"100.00","price2":"0.00","date":"2021-09-07 17:28:23","date2":"2021-09-07 17:28:23"},{"id":20,"name":"测试2","number":98,"admin_id":137,"price":"100.00","price2":"0.00","date":"2021-08-31 17:16:17","date2":"2021-08-31 17:16:17"}]
         * commenttypelist : {"chaping":0,"zhongping":0,"haoping":0}
         * admin_name : 柳昭旭
         * collection : 0
         */

        private DetailBean detail;
        private SpecDataBean specData;
        private String store_id;
        private CommenttypelistBean commenttypelist;
        private String admin_name;
        private Integer collection;
        private List<DistributionBean> distribution;
        private List<CommentBean> comment;
        private List<DiscountBean> discount;

        public DetailBean getDetail() {
            return detail;
        }

        public void setDetail(DetailBean detail) {
            this.detail = detail;
        }

        public SpecDataBean getSpecData() {
            return specData;
        }

        public void setSpecData(SpecDataBean specData) {
            this.specData = specData;
        }

        public String getStore_id() {
            return store_id;
        }

        public void setStore_id(String store_id) {
            this.store_id = store_id;
        }

        public CommenttypelistBean getCommenttypelist() {
            return commenttypelist;
        }

        public void setCommenttypelist(CommenttypelistBean commenttypelist) {
            this.commenttypelist = commenttypelist;
        }

        public String getAdmin_name() {
            return admin_name;
        }

        public void setAdmin_name(String admin_name) {
            this.admin_name = admin_name;
        }

        public Integer getCollection() {
            return collection;
        }

        public void setCollection(Integer collection) {
            this.collection = collection;
        }

        public List<DistributionBean> getDistribution() {
            return distribution;
        }

        public void setDistribution(List<DistributionBean> distribution) {
            this.distribution = distribution;
        }

        public List<CommentBean> getComment() {
            return comment;
        }

        public void setComment(List<CommentBean> comment) {
            this.comment = comment;
        }

        public List<DiscountBean> getDiscount() {
            return discount;
        }

        public void setDiscount(List<DiscountBean> discount) {
            this.discount = discount;
        }

        public static class DistributionBean implements Serializable {

            /**
             * id : 1
             * name : 快递
             */

            private Integer id;
            private String name;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class CommentBean {

            /**
             * content : 很好
             * imgid : 186
             * openname : 匆匆此间
             * head : https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLztsCfqA36gTTKEaCbC2TBq156qmuJicaTIFD27MELNkC9Tld7wWmqbOdgaxHbo4l9AMRMib3Z0tUA/132
             * img : https://yuncang.dzsmxx.com/images/1630655984.png
             * rate : 5
             * imglist : [{"id":186,"img":"https://yuncang.dzsmxx.com/images/1630655984.png"}]
             */

            private String content;
            private String imgid;
            private String openname;
            private String head;
            private String img;
            private String rate;
            private List<ImglistBean> imglist;

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getImgid() {
                return imgid;
            }

            public void setImgid(String imgid) {
                this.imgid = imgid;
            }

            public String getOpenname() {
                return openname;
            }

            public void setOpenname(String openname) {
                this.openname = openname;
            }

            public String getHead() {
                return head;
            }

            public void setHead(String head) {
                this.head = head;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }

            public List<ImglistBean> getImglist() {
                return imglist;
            }

            public void setImglist(List<ImglistBean> imglist) {
                this.imglist = imglist;
            }

            public static class ImglistBean {
                /**
                 * id : 186
                 * img : https://yuncang.dzsmxx.com/images/1630655984.png
                 */

                private Integer id;
                private String img;

                public Integer getId() {
                    return id;
                }

                public void setId(Integer id) {
                    this.id = id;
                }

                public String getImg() {
                    return img;
                }

                public void setImg(String img) {
                    this.img = img;
                }
            }
        }

        public static class DetailBean {
            /**
             * id : 27
             * name : 奥里给
             * admin_id : 137
             * unit : 个
             * type2_id : 29
             * price : null
             * xiaohao_price : null
             * xiaohao_integral : 9
             * status_price : 1.00
             * wuliu_price : 1.00
             * qishou_price : 1.00
             * image : https://yuncang.dzsmxx.com/uploads/20210724/e1b30ed7d4c46454a02a194494724dc3.png
             * content : <p>12121</p>
             * status4 : 1
             * audit : 1
             * number : 11
             * sales : 11
             * sort : 27
             * spec_type : 20
             * starttime : 2021-07-24 17:09:05
             * top_id : 45
             * shouye_top : 0
             * status : 1
             * status_type : null
             * baoyou_status : 0
             * baoyouYes : null
             * baoyouNo : 15
             * store_id : 137
             * imgs_url : ["https://yuncang.dzsmxx.com/uploads/20210724/e1b30ed7d4c46454a02a194494724dc3.png"]
             * category : {"id":29,"tyle_id":60,"name":"亲子装","image":"/uploads/20210705/cee7fbfc2f7e5f7a41336885952a3cd1.jpg"}
             * spec : [{"goods_spec_id":64,"goods_id":27,"goods_no":"11","goods_price":"11.00","numberlist":11,"numbermax":null,"numbermin":11,"expire":"2021-08-05 17:08:25","line_price":"111.00","stock_num":24,"goods_sales":0,"goods_weight":1,"spec_sku_id":"12","spec_image":"/uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg","create_time":1627118890,"update_time":1627118890}]
             * spec_rel : [{"id":12,"spec_value":"22","spec_id":6,"createtime":1623815275,"pivot":{"id":58,"goods_id":27,"spec_id":6,"spec_value_id":12,"create_time":1627118890},"spec":{"id":6,"spec_name":"11","createtime":1623815275}}]
             * spec_type_text : Spec_type 20
             * deduct_stock_type_text :
             * goods_status_text :
             * is_delete_text :
             */

            private Integer id;
            private String name;
            private Integer admin_id;
            private String unit;
            private Integer type2_id;
            private String price;
            private String xiaohao_price;
            private String xiaohao_integral;
            private String status_price;
            private String wuliu_price;
            private String qishou_price;
            private String image;
            private String content;
            private String status4;
            private String audit;
            private String number;
            private String sales;
            private String sort;
            private String spec_type;
            private String starttime;
            private Integer top_id;
            private Integer shouye_top;
            private String business_name;
            private Integer deduct1;
            private Integer deduct2;
            private String status;
            private String status_type;
            private String baoyou_status;
            private String baoyouYes;
            private String baoyouNo;
            private String store_id;
            private CategoryBean category;
            private String spec_type_text;
            private String deduct_stock_type_text;
            private String goods_status_text;
            private String is_delete_text;
            private List<String> imgs_url;
            private List<SpecBean> spec;
            private List<SpecRelBean> spec_rel;

            public String getBusiness_name() {
                return business_name;
            }

            public void setBusiness_name(String business_name) {
                this.business_name = business_name;
            }

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Integer getAdmin_id() {
                return admin_id;
            }

            public void setAdmin_id(Integer admin_id) {
                this.admin_id = admin_id;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public Integer getType2_id() {
                return type2_id;
            }

            public void setType2_id(Integer type2_id) {
                this.type2_id = type2_id;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getXiaohao_price() {
                return xiaohao_price;
            }

            public void setXiaohao_price(String xiaohao_price) {
                this.xiaohao_price = xiaohao_price;
            }

            public String getXiaohao_integral() {
                return xiaohao_integral;
            }

            public void setXiaohao_integral(String xiaohao_integral) {
                this.xiaohao_integral = xiaohao_integral;
            }

            public String getStatus_price() {
                return status_price;
            }

            public void setStatus_price(String status_price) {
                this.status_price = status_price;
            }

            public String getWuliu_price() {
                return wuliu_price;
            }

            public void setWuliu_price(String wuliu_price) {
                this.wuliu_price = wuliu_price;
            }

            public String getQishou_price() {
                return qishou_price;
            }

            public void setQishou_price(String qishou_price) {
                this.qishou_price = qishou_price;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getStatus4() {
                return status4;
            }

            public void setStatus4(String status4) {
                this.status4 = status4;
            }

            public String getAudit() {
                return audit;
            }

            public void setAudit(String audit) {
                this.audit = audit;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getSales() {
                return sales;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }

            public String getSort() {
                return sort;
            }

            public void setSort(String sort) {
                this.sort = sort;
            }

            public String getSpec_type() {
                return spec_type;
            }

            public void setSpec_type(String spec_type) {
                this.spec_type = spec_type;
            }

            public String getStarttime() {
                return starttime;
            }

            public void setStarttime(String starttime) {
                this.starttime = starttime;
            }

            public Integer getTop_id() {
                return top_id;
            }

            public void setTop_id(Integer top_id) {
                this.top_id = top_id;
            }

            public Integer getShouye_top() {
                return shouye_top;
            }

            public void setShouye_top(Integer shouye_top) {
                this.shouye_top = shouye_top;
            }

            public Integer getDeduct1() {
                return deduct1;
            }

            public void setDeduct1(Integer deduct1) {
                this.deduct1 = deduct1;
            }

            public Integer getDeduct2() {
                return deduct2;
            }

            public void setDeduct2(Integer deduct2) {
                this.deduct2 = deduct2;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getStatus_type() {
                return status_type;
            }

            public void setStatus_type(String status_type) {
                this.status_type = status_type;
            }

            public String getBaoyou_status() {
                return baoyou_status;
            }

            public void setBaoyou_status(String baoyou_status) {
                this.baoyou_status = baoyou_status;
            }

            public String getBaoyouYes() {
                return baoyouYes;
            }

            public void setBaoyouYes(String baoyouYes) {
                this.baoyouYes = baoyouYes;
            }

            public String getBaoyouNo() {
                return baoyouNo;
            }

            public void setBaoyouNo(String baoyouNo) {
                this.baoyouNo = baoyouNo;
            }

            public String getStore_id() {
                return store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public CategoryBean getCategory() {
                return category;
            }

            public void setCategory(CategoryBean category) {
                this.category = category;
            }

            public String getSpec_type_text() {
                return spec_type_text;
            }

            public void setSpec_type_text(String spec_type_text) {
                this.spec_type_text = spec_type_text;
            }

            public String getDeduct_stock_type_text() {
                return deduct_stock_type_text;
            }

            public void setDeduct_stock_type_text(String deduct_stock_type_text) {
                this.deduct_stock_type_text = deduct_stock_type_text;
            }

            public String getGoods_status_text() {
                return goods_status_text;
            }

            public void setGoods_status_text(String goods_status_text) {
                this.goods_status_text = goods_status_text;
            }

            public String getIs_delete_text() {
                return is_delete_text;
            }

            public void setIs_delete_text(String is_delete_text) {
                this.is_delete_text = is_delete_text;
            }

            public List<String> getImgs_url() {
                return imgs_url;
            }

            public void setImgs_url(List<String> imgs_url) {
                this.imgs_url = imgs_url;
            }

            public List<SpecBean> getSpec() {
                return spec;
            }

            public void setSpec(List<SpecBean> spec) {
                this.spec = spec;
            }

            public List<SpecRelBean> getSpec_rel() {
                return spec_rel;
            }

            public void setSpec_rel(List<SpecRelBean> spec_rel) {
                this.spec_rel = spec_rel;
            }

            public static class CategoryBean {
                /**
                 * id : 29
                 * tyle_id : 60
                 * name : 亲子装
                 * image : /uploads/20210705/cee7fbfc2f7e5f7a41336885952a3cd1.jpg
                 */

                private Integer id;
                private Integer tyle_id;
                private String name;
                private String image;

                public Integer getId() {
                    return id;
                }

                public void setId(Integer id) {
                    this.id = id;
                }

                public Integer getTyle_id() {
                    return tyle_id;
                }

                public void setTyle_id(Integer tyle_id) {
                    this.tyle_id = tyle_id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getImage() {
                    return image;
                }

                public void setImage(String image) {
                    this.image = image;
                }
            }

            public static class SpecBean {
                /**
                 * goods_spec_id : 64
                 * goods_id : 27
                 * goods_no : 11
                 * goods_price : 11.00
                 * numberlist : 11
                 * numbermax : null
                 * numbermin : 11
                 * expire : 2021-08-05 17:08:25
                 * line_price : 111.00
                 * stock_num : 24
                 * goods_sales : 0
                 * goods_weight : 1
                 * spec_sku_id : 12
                 * spec_image : /uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg
                 * create_time : 1627118890
                 * update_time : 1627118890
                 */

                private Integer goods_spec_id;
                private Integer goods_id;
                private String goods_no;
                private String goods_price;
                private Integer numberlist;
                private String numbermax;
                private Integer numbermin;
                private String expire;
                private String line_price;
                private Integer stock_num;
                private Integer goods_sales;
                private String goods_weight;
                private String spec_sku_id;
                private String spec_image;
                private String create_time;
                private String update_time;

                public Integer getGoods_spec_id() {
                    return goods_spec_id;
                }

                public void setGoods_spec_id(Integer goods_spec_id) {
                    this.goods_spec_id = goods_spec_id;
                }

                public Integer getGoods_id() {
                    return goods_id;
                }

                public void setGoods_id(Integer goods_id) {
                    this.goods_id = goods_id;
                }

                public String getGoods_no() {
                    return goods_no;
                }

                public void setGoods_no(String goods_no) {
                    this.goods_no = goods_no;
                }

                public String getGoods_price() {
                    return goods_price;
                }

                public void setGoods_price(String goods_price) {
                    this.goods_price = goods_price;
                }

                public Integer getNumberlist() {
                    return numberlist;
                }

                public void setNumberlist(Integer numberlist) {
                    this.numberlist = numberlist;
                }

                public String getNumbermax() {
                    return numbermax;
                }

                public void setNumbermax(String numbermax) {
                    this.numbermax = numbermax;
                }

                public Integer getNumbermin() {
                    return numbermin;
                }

                public void setNumbermin(Integer numbermin) {
                    this.numbermin = numbermin;
                }

                public String getExpire() {
                    return expire;
                }

                public void setExpire(String expire) {
                    this.expire = expire;
                }

                public String getLine_price() {
                    return line_price;
                }

                public void setLine_price(String line_price) {
                    this.line_price = line_price;
                }

                public Integer getStock_num() {
                    return stock_num;
                }

                public void setStock_num(Integer stock_num) {
                    this.stock_num = stock_num;
                }

                public Integer getGoods_sales() {
                    return goods_sales;
                }

                public void setGoods_sales(Integer goods_sales) {
                    this.goods_sales = goods_sales;
                }

                public String getGoods_weight() {
                    return goods_weight;
                }

                public void setGoods_weight(String goods_weight) {
                    this.goods_weight = goods_weight;
                }

                public String getSpec_sku_id() {
                    return spec_sku_id;
                }

                public void setSpec_sku_id(String spec_sku_id) {
                    this.spec_sku_id = spec_sku_id;
                }

                public String getSpec_image() {
                    return spec_image;
                }

                public void setSpec_image(String spec_image) {
                    this.spec_image = spec_image;
                }

                public String getCreate_time() {
                    return create_time;
                }

                public void setCreate_time(String create_time) {
                    this.create_time = create_time;
                }

                public String getUpdate_time() {
                    return update_time;
                }

                public void setUpdate_time(String update_time) {
                    this.update_time = update_time;
                }
            }

            public static class SpecRelBean {
                /**
                 * id : 12
                 * spec_value : 22
                 * spec_id : 6
                 * createtime : 1623815275
                 * pivot : {"id":58,"goods_id":27,"spec_id":6,"spec_value_id":12,"create_time":1627118890}
                 * spec : {"id":6,"spec_name":"11","createtime":1623815275}
                 */

                private Integer id;
                private String spec_value;
                private Integer spec_id;
                private Integer createtime;
                private PivotBean pivot;
                private SpecBeanX spec;

                public Integer getId() {
                    return id;
                }

                public void setId(Integer id) {
                    this.id = id;
                }

                public String getSpec_value() {
                    return spec_value;
                }

                public void setSpec_value(String spec_value) {
                    this.spec_value = spec_value;
                }

                public Integer getSpec_id() {
                    return spec_id;
                }

                public void setSpec_id(Integer spec_id) {
                    this.spec_id = spec_id;
                }

                public Integer getCreatetime() {
                    return createtime;
                }

                public void setCreatetime(Integer createtime) {
                    this.createtime = createtime;
                }

                public PivotBean getPivot() {
                    return pivot;
                }

                public void setPivot(PivotBean pivot) {
                    this.pivot = pivot;
                }

                public SpecBeanX getSpec() {
                    return spec;
                }

                public void setSpec(SpecBeanX spec) {
                    this.spec = spec;
                }

                public static class PivotBean {
                    /**
                     * id : 58
                     * goods_id : 27
                     * spec_id : 6
                     * spec_value_id : 12
                     * create_time : 1627118890
                     */

                    private Integer id;
                    private Integer goods_id;
                    private Integer spec_id;
                    private Integer spec_value_id;
                    private Integer create_time;

                    public Integer getId() {
                        return id;
                    }

                    public void setId(Integer id) {
                        this.id = id;
                    }

                    public Integer getGoods_id() {
                        return goods_id;
                    }

                    public void setGoods_id(Integer goods_id) {
                        this.goods_id = goods_id;
                    }

                    public Integer getSpec_id() {
                        return spec_id;
                    }

                    public void setSpec_id(Integer spec_id) {
                        this.spec_id = spec_id;
                    }

                    public Integer getSpec_value_id() {
                        return spec_value_id;
                    }

                    public void setSpec_value_id(Integer spec_value_id) {
                        this.spec_value_id = spec_value_id;
                    }

                    public Integer getCreate_time() {
                        return create_time;
                    }

                    public void setCreate_time(Integer create_time) {
                        this.create_time = create_time;
                    }
                }

                public static class SpecBeanX {
                    /**
                     * id : 6
                     * spec_name : 11
                     * createtime : 1623815275
                     */

                    private Integer id;
                    private String spec_name;
                    private Integer createtime;

                    public Integer getId() {
                        return id;
                    }

                    public void setId(Integer id) {
                        this.id = id;
                    }

                    public String getSpec_name() {
                        return spec_name;
                    }

                    public void setSpec_name(String spec_name) {
                        this.spec_name = spec_name;
                    }

                    public Integer getCreatetime() {
                        return createtime;
                    }

                    public void setCreatetime(Integer createtime) {
                        this.createtime = createtime;
                    }
                }
            }
        }

        public static class SpecDataBean {
            private List<SpecAttrBean> spec_attr;
            private List<SpecListBean> spec_list;

            public List<SpecAttrBean> getSpec_attr() {
                return spec_attr;
            }

            public void setSpec_attr(List<SpecAttrBean> spec_attr) {
                this.spec_attr = spec_attr;
            }

            public List<SpecListBean> getSpec_list() {
                return spec_list;
            }

            public void setSpec_list(List<SpecListBean> spec_list) {
                this.spec_list = spec_list;
            }

            public static class SpecAttrBean {
                /**
                 * group_id : 6
                 * group_name : 11
                 * spec_items : [{"item_id":12,"spec_value":"22"}]
                 */

                private Integer group_id;
                private String group_name;
                private List<SpecItemsBean> spec_items;

                public Integer getGroup_id() {
                    return group_id;
                }

                public void setGroup_id(Integer group_id) {
                    this.group_id = group_id;
                }

                public String getGroup_name() {
                    return group_name;
                }

                public void setGroup_name(String group_name) {
                    this.group_name = group_name;
                }

                public List<SpecItemsBean> getSpec_items() {
                    return spec_items;
                }

                public void setSpec_items(List<SpecItemsBean> spec_items) {
                    this.spec_items = spec_items;
                }

                public static class SpecItemsBean {
                    /**
                     * item_id : 12
                     * spec_value : 22
                     */

                    private Integer item_id;
                    private String spec_value;

                    public Integer getItem_id() {
                        return item_id;
                    }

                    public void setItem_id(Integer item_id) {
                        this.item_id = item_id;
                    }

                    public String getSpec_value() {
                        return spec_value;
                    }

                    public void setSpec_value(String spec_value) {
                        this.spec_value = spec_value;
                    }
                }
            }

            public static class SpecListBean {
                /**
                 * goods_spec_id : 64
                 * spec_sku_id : 12
                 * rows : []
                 * form : {"goods_no":"11","goods_price":"11.00","goods_weight":1,"line_price":"111.00","stock_num":24,"spec_image":"/uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg","numberlist":11,"numbermax":null,"numbermin":11,"imgshow":"https://yuncang.dzsmxx.com/uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg"}
                 */

                private Integer goods_spec_id;
                private String spec_sku_id;
                private FormBean form;
                private List<?> rows;

                public Integer getGoods_spec_id() {
                    return goods_spec_id;
                }

                public void setGoods_spec_id(Integer goods_spec_id) {
                    this.goods_spec_id = goods_spec_id;
                }

                public String getSpec_sku_id() {
                    return spec_sku_id;
                }

                public void setSpec_sku_id(String spec_sku_id) {
                    this.spec_sku_id = spec_sku_id;
                }

                public FormBean getForm() {
                    return form;
                }

                public void setForm(FormBean form) {
                    this.form = form;
                }

                public List<?> getRows() {
                    return rows;
                }

                public void setRows(List<?> rows) {
                    this.rows = rows;
                }

                public static class FormBean {
                    /**
                     * goods_no : 11
                     * goods_price : 11.00
                     * goods_weight : 1
                     * line_price : 111.00
                     * stock_num : 24
                     * spec_image : /uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg
                     * numberlist : 11
                     * numbermax : null
                     * numbermin : 11
                     * imgshow : https://yuncang.dzsmxx.com/uploads/20210724/6c02158580bbf98fbfb815480d905856.jpg
                     */

                    private String goods_no;
                    private String goods_price;
                    private String goods_weight;
                    private String line_price;
                    private Integer stock_num;
                    private String spec_image;
                    private Integer numberlist;
                    private String numbermax;
                    private Integer numbermin;
                    private String imgshow;

                    public String getGoods_no() {
                        return goods_no;
                    }

                    public void setGoods_no(String goods_no) {
                        this.goods_no = goods_no;
                    }

                    public String getGoods_price() {
                        return goods_price;
                    }

                    public void setGoods_price(String goods_price) {
                        this.goods_price = goods_price;
                    }

                    public String getGoods_weight() {
                        return goods_weight;
                    }

                    public void setGoods_weight(String goods_weight) {
                        this.goods_weight = goods_weight;
                    }

                    public String getLine_price() {
                        return line_price;
                    }

                    public void setLine_price(String line_price) {
                        this.line_price = line_price;
                    }

                    public Integer getStock_num() {
                        return stock_num;
                    }

                    public void setStock_num(Integer stock_num) {
                        this.stock_num = stock_num;
                    }

                    public String getSpec_image() {
                        return spec_image;
                    }

                    public void setSpec_image(String spec_image) {
                        this.spec_image = spec_image;
                    }

                    public Integer getNumberlist() {
                        return numberlist;
                    }

                    public void setNumberlist(Integer numberlist) {
                        this.numberlist = numberlist;
                    }

                    public String getNumbermax() {
                        return numbermax;
                    }

                    public void setNumbermax(String numbermax) {
                        this.numbermax = numbermax;
                    }

                    public Integer getNumbermin() {
                        return numbermin;
                    }

                    public void setNumbermin(Integer numbermin) {
                        this.numbermin = numbermin;
                    }

                    public String getImgshow() {
                        return imgshow;
                    }

                    public void setImgshow(String imgshow) {
                        this.imgshow = imgshow;
                    }
                }
            }
        }

        public static class CommenttypelistBean {
            /**
             * chaping : 0
             * zhongping : 0
             * haoping : 0
             */

            private Integer chaping;
            private Integer zhongping;
            private Integer haoping;

            public Integer getChaping() {
                return chaping;
            }

            public void setChaping(Integer chaping) {
                this.chaping = chaping;
            }

            public Integer getZhongping() {
                return zhongping;
            }

            public void setZhongping(Integer zhongping) {
                this.zhongping = zhongping;
            }

            public Integer getHaoping() {
                return haoping;
            }

            public void setHaoping(Integer haoping) {
                this.haoping = haoping;
            }
        }

        public static class DiscountBean extends BaseObservable implements Serializable {
            /**
             * id : 18
             * name : 测试
             * number : 8
             * admin_id : 137
             * price : 10.00
             * price2 : 100.00
             * date : 2021-08-30 08:52:35
             * date2 : 2021-08-30 08:52:35
             */

            private Integer id;
            private String name;
            private Integer number;
            private Integer admin_id;
            private String price;
            private String price2;
            private String date;
            private String date2;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Integer getNumber() {
                return number;
            }

            public void setNumber(Integer number) {
                this.number = number;
            }

            public Integer getAdmin_id() {
                return admin_id;
            }

            public void setAdmin_id(Integer admin_id) {
                this.admin_id = admin_id;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getPrice2() {
                return price2;
            }

            public void setPrice2(String price2) {
                this.price2 = price2;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getDate2() {
                return date2;
            }

            public void setDate2(String date2) {
                this.date2 = date2;
            }
        }
    }
}
